################################### Purpose ####################################
- The UX-Localization Library is used to localize static string text used in 
  ...User Extensibility Framework applications.
################################################################################

################################# How it Works #################################
A translation file must exist based on the ISO Language Code. 
    - See: https://msdn.microsoft.com/en-us/library/ee825488(v=cs.20).aspx

The translation files are resolved by convention, as such the files must be 
placed in the proper location.

######## Directory Structure ########
app-root\localization\
  - test\		
    - unit_test.html
  - translations\
    - <ISO-Langauge-Code>.json
      - Example: fi.json, en.json
  - ux-localization.js
#####################################

Based on the above structure, to localize to a Finish translation, the file
"app-root\localization\translations\fi.json" ...must exist.

This file will be a JSON Object with Keys for each String to Localize:

######## en.json ########
{
  TestKeyOne: "Test Value One"
  TestKeyTwo: "Test Value Two"
}

################################################################################
  
################################ HTML Refereces ################################

<!--Reference the Localization Library-->
<script src="localization/ux-localization.js"></script>

################################################################################

################################ JavaScript Usage ##############################
// Create a new Localization Utility, using the Vault Language ID.

// Preferred Usage, including Handlebar injection.
LocalizeUiStrings(null, "NestedFolder", StringsToLocalize, Handlebars, document.body);

// Preferred Usage, without Handlebar injection.
var g_Strings = LocalizeUiStrings(null, "NestedFolder", StringsToLocalize);

// --- Explicit Usages Below This Line ---
var util = new LocalizationUtil(vault, false, "NestedFolder");

// Alternate Usage, Reads and Deserializes the LocalizationInstruction 
// from the passed filepath.
var util = new LocalizationUtil("path-to-LocalizationInstruction.json", false, "NestedFolder");

// Alternate Usage. Uses Default Values from the DefaultValues 
// object contained in the UX-Localization.js library.
var util = new LocalizationUtil();

// Alternate Usage. Pass the Language Code directly.
var util = new LocalizationUtil( "en", false, "NestedFolder" );

// Alternate Usage. Pass the a null, the client country code will be used.
var util = new LocalizationUtil( null, false, "NestedFolder" );

// Alternate Usage. Pass the Translation Directly.
var util = new LocalizationUtil( preTranslatedObjectWithValidKeys, false, "NestedFolder" );
################################################################################

############## Ways to Localize ##############

 a.) Localize a single string, by the Key.
	- var localizedString = util.localizeString( "Key-Here" );
 b.) Localize all Keys on an Object.
	- var localizedStrings = util.localize( stringsObj );
	- A valid object to localize ( using the en.json from above )

var toLocalize = {
  TestKeyOne: "Placeholder"
  TestKeyTwo: "Placeholder"
};

var localizedStrings = util.localize( toLocalize );